package com.kgcx.common.annotation.validator;


import com.kgcx.common.constant.Cons;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Created by Administrator on 2017/3/3.
 */
@Target({ElementType.PARAMETER, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface DateValidator {
    String value();

    String format() default Cons.DATE_FORMAT_YYYYMMDDHHMMSS;
}
